from collections import namedtuple 

__RectTypeStruct = namedtuple('RecType', ['OuterBound','InnerBound','ContentBound','XAxisBottomBound','XAxisTopBound','YAxisLeftBound','YAxisRightBound',\
                                          'XAxisBottom','XAxisTop','YAxisLeft','YAxisRight'
                                          ])
RectType=__RectTypeStruct('OuterBound','InnerBound','ContentBound','XAxisBottomBound','XAxisTopBound','YAxisLeftBound','YAxisRightBound',\
                           'XAxisBottom','XAxisTop','YAxisLeft','YAxisRight')
__DictTypeStruct = namedtuple('DictType', ['Name','Bound','RectsList','SizePolicy','YRange','LogicCor2ScreenT','LogicSize2ScreenT',\
                                           'ScreenCor2Logic','ScreenSize2Logic'])
DictType = __DictTypeStruct('Name','Bound','RectsList','SizePolicy','YRange','LogicCor2ScreenT','LogicSize2ScreenT',\
                            'ScreenCor2Logic','ScreenSize2Logic')

